package com.ty.service;

import com.ty.bean.Loan;
import com.ty.common.bean.PageBean;
import com.ty.query.LoanCustomerQuery;

import java.util.Map;

public interface LoanService  {

    /**
     * 查询客户分类
     *
     * @return
     */
    PageBean queryByMap(LoanCustomerQuery query);


    /**
     * 保存贷款用户
     * @param loan
     * @return
     */
    int save(Loan loan);


}
